package com.elangzhi.ssm.modules.user.app;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 应用相关
 * 关于、升级、建议之类
 */
@Controller
@RequestMapping("/app/system")
public class AppSystemController {

    @RequestMapping("about")
    public ModelAndView about(){

        return new ModelAndView("web/about");
    }

    /**
     * 用户申请店铺
     * @param userId
     * @return
     */
    @RequestMapping("registerShop")
    public ModelAndView registerShop(Long userId,ModelMap model){
        model.put("userId",userId);
        return new ModelAndView("web/registerShop",model);
    }


}
